/**
 * This library is a thing to realize D2L and DI and AOP on Flex2(ActionScript3).
 * Copyright (C) 2007 Takamasa Seki
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * 
 * Contributor : Takamasa Seki(takanafu@gmail.com)
 *               http://www.takanafu.com/
 */

package com.takanafu.haruframework.d2l.invoker{
	public class MethodInfo{
		static public const USE_HANDLER:int = 1;
		// RELAY_METHOD ������ǉ� 20070716
		static public const RELAY_METHOD:int = 2;
		
		private var _handler:Function;
		private var _flag:int;
		private var _param:Object;
		
		public function MethodInfo(handler:Function,flag:int=USE_HANDLER){
			this._handler = handler;
			this._flag = flag;
		}
		
		// �t���O�擾������ǉ� 20070716
		public function getInfoFlag():int{
			return this._flag;
		}
		
		public function getHandlerFunction():Function{
			return this._handler;
		}
	}
}